package com.qf.service;

import com.qf.pojo.Employee;
import org.springframework.stereotype.Service;

import java.util.List;


public interface EmployeeService {
    /*注册*/
    public int regist(String name,String password);
    /*查询所有*/
    public List<Employee> selectAll();
    /*根据id查询*/
    public Employee selectOne(String empId);
    /*根据姓名查询*/
    public Employee selectByName(String name);
    /*删除*/
    public int deleteOne(List<String> empId);
    /*增加*/
    public int insertOne(Employee employee);
    /*修改*/
    public int update(Employee employee);
}
